package com.imooc.common.functional;

import java.util.HashMap;
import java.util.Map;
import java.util.function.BiFunction;

public class FunctionHalper {

    public static BiFunction<String,Object,Map> generaterMap(){
        BiFunction<String,Object,Map> function = (k,v)->{
            Map map = new HashMap();
            map.put(k,v);
            return map;
        };

        return function;
    }

}
